﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<MvcMusicStore.ViewModels.StoreIndexViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Index
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h3>
        Browse Genres</h3>
    <p>
        Select from
        <%: Model.NumberOfGenres %>
        genres:</p>
    <ul>
        <% foreach (var genreName in Model.Genres)
           { %>
        <li>
            <%: Html.ActionLink(genreName, "Browse", "Store", new { genre = genreName }, null) %>
        </li>
        <% } %>
    </ul>
</asp:Content>
